package hero.antlr2;

import org.antlr.Tool;


public class Compiler {

    public static void main(String[] args) {

        String[] files = new String[] { "./src/main/java/hero/antlr2/Simplest.g",  "./src/main/java/hero/antlr2/TreeWalker.g"};
        Tool antlr = new Tool(files);

        //antlr.setOutputDirectory("./src/main/java/hero/antlr/");
        antlr.setVerbose(true);

        antlr.process();
        System.exit(0);
    }

}
